package com.shuziren.pojo.vo;

import com.shuziren.pojo.entity.InterviewRecover;
import jakarta.annotation.Nullable;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class InterviewRecoverQueryVo {
    @Nullable
    @Min(value = 0, message = "候选人ID 不能小于0")
    private Integer candidateId;
    @Nullable
    @Min(value = 0, message = "职位ID 不能小于0")
    private Integer questionId;

    @NotNull(message = "页码 不能为空")
    @Min(value = 1, message = "页码 必须至少为1")
    private Integer pageNum;

    @NotNull(message = "每页大小 不能为空")
    @Min(value = 1, message = "每页大小 必须至少为1")
    private Integer pageSize;
}